<?php
class default_controllers_Controller extends Engine_Controller
{

	public function initView()
	{
		$this->view = parent::initView();

		$this->view->menu       = default_core_Menu       ::getInstance()->getCollection($this->_request);
		$this->view->ads        =         core_Ads        ::getInstance()->getCollection(array('criterion' => 'byRandom', 'paging' => array('page' => 1, 'perPage' => 4)));
		$this->view->specialist =         core_Specialists::getInstance()->getRandomEntry();

		$this->_initSubMenu();

		return $this->view;
	}

	public function indexAction()
	{}

	protected function _initSubMenu()
	{}
}